#pragma once
#include <iostream>
#include <list>
#include <string>

#include "MyComponent.h"

using namespace std;

class BaseProgram
{
private:
	int typecnt;

	list<MyComponent> listComponent;
public:
	char* type;
	BaseProgram(void);
	~BaseProgram(void);

		
	// setter
	void setType(char* type);
	void setTypeCount();
	void setListComponent(list<MyComponent> listComponent);

	// getter
	int getType();
	int getTypeCount();
};

